#ifndef _IP_H_INCLUDED_
#define _IP_H_INCLUDED_

#include "defines.h"

void ip_init(void);
void ip_handle(uint8 *packet);
void ip_send(uint8 *buf, uint16 size, uint8 protocol,
             const uint8 dst_IP[], const uint8 src_IP[]);
void ip_send_data(uint8 *data, uint16 size, uint8 protocol, const uint8 dst_IP[]);
void ip_main(int argc, char *argv);

#endif
